package com.yf.dmp.bean;

public class SystemInfo {
    private int id;
    private String code;
    private String name;
    private String ip;
    private String db_type;
    private String connection;
    private String folder;
    private int read_write_flag;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getDb_type() {
        return db_type;
    }

    public void setDb_type(String db_type) {
        this.db_type = db_type;
    }

    public String getConnection() {
        return connection;
    }

    public void setConnection(String connection) {
        this.connection = connection;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    public int getRead_write_flag() {
        return read_write_flag;
    }

    public void setRead_write_flag(int read_write_flag) {
        this.read_write_flag = read_write_flag;
    }

    public SystemInfo() {
    }

    public SystemInfo(int id, String code, String name, String ip, String db_type, String connection, String folder, int read_write_flag) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.ip = ip;
        this.db_type = db_type;
        this.connection = connection;
        this.folder = folder;
        this.read_write_flag = read_write_flag;
    }

    @Override
    public String toString() {
        return "SystemList{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", db_type='" + db_type + '\'' +
                ", connection='" + connection + '\'' +
                ", folder='" + folder + '\'' +
                ", read_write_flag=" + read_write_flag +
                '}';
    }
}
